package abstractfactory.factory.impl;

import abstractfactory.factory.Factory;
import abstractfactory.service.DepartmentService;
import abstractfactory.service.UserService;
import abstractfactory.service.impl.SqlServerDepartmentServiceImpl;
import abstractfactory.service.impl.SqlServerUserServiceImpl;

public class SqlServerFactoryImpl implements Factory {
    @Override
    public UserService createUser() {
        return new SqlServerUserServiceImpl();
    }

    @Override
    public DepartmentService createDepartment() {
        return new SqlServerDepartmentServiceImpl();
    }
}